package teshop.dao;

import java.util.List;

import teshop.domain.Product;

/**
 * Product DAO contract interface
 * 
 * Created: 25.02.2009
 * @author Hryhory Lira
 *
 */
public interface ProductDAO {
	
	Product loadById(Long productId);
	
	void persist(Product product);
	
	void update(Product product);
	
	void delete(Long productId);
	
	List<Product> getCategoryProducts(Long pCategoryId, int pPage, int pNumberOnPage);

}
